package fr.afcepf.atodcp2.benbai.entity;

import java.util.List;

public class Panier {
	private Integer idPanier;		
	private boolean etatPanier = false;
	private double totalPanier;
	private List<LigneCommande> listeLignesCommande;
	
	public Panier() {
		super();
	}
	
	public Panier(Integer idPanier, 
			boolean etatPanier, double totalPanier,
			List<LigneCommande> listeLignesCommande) {
		super();
		this.idPanier = idPanier;
		this.etatPanier = etatPanier;
		this.totalPanier = totalPanier;
		this.listeLignesCommande = listeLignesCommande;
	}

	public Integer getIdPanier() {
		return idPanier;
	}

	public void setIdPanier(Integer idPanier) {
		this.idPanier = idPanier;
	}
	
	public boolean isEtatPanier() {
		return etatPanier;
	}

	public void setEtatPanier(boolean etatPanier) {
		this.etatPanier = etatPanier;
	}

	public double getTotalPanier() {
		return totalPanier;
	}

	public void setTotalPanier(double totalPanier) {
		this.totalPanier = totalPanier;
	}

	public List<LigneCommande> getListeLignesCommande() {
		return listeLignesCommande;
	}

	public void setListeLignesCommande(List<LigneCommande> listeLignesCommande) {
		this.listeLignesCommande = listeLignesCommande;
	}

	
	

}
